package cn.jiyun.ai.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("shops")
public class Shops {

    private static final long serialVersionUID = 1L;

    @TableId(type= IdType.AUTO)
    private Integer id;

    // 店铺名称
    @TableField
    private String name;

    // 卖货类型
    @TableField
    private String type;

    // 地区字段
    @TableField
    private String region;

    // 机构简介
    @TableField
    private String introduction;

    // 店铺照片
    @TableField
    private String image;

    // 状态
    @TableField
    private Integer status;
}
